import type { App } from 'vue'

import { setupRouter } from '@/router'
import { setupElIcons } from './icons'
import { setupStore } from '@/store'

export default {
  install(app: App<Element>) {
    // 路由(router)
    setupRouter(app)
    // Element-plus图标
    setupElIcons(app)
    // store
    setupStore(app)
  },
}
